﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace WucCloud.Entity
{
    /// <summary>
    /// 角色信息实体
    /// </summary>
    [Serializable]
    [SugarTable("Sys_RoleInfo","角色信息表")]
    [Tenant("0")]
    public class RoleInfoEntity:BaseEntity<string>
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public RoleInfoEntity()
        {

        }

        /// <summary>
        /// 角色编码
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnName = "EnCode", ColumnDataType = "nvarchar(50)", ColumnDescription = "角色编码")]
        public string EnCode { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnName = "RoleName", ColumnDataType = "nvarchar(50)", ColumnDescription = "角色名称")]
        public string RoleName { get; set; }
    }
}
